package com.wenjie.original.entity.vo.SysCodeTempGroup;

import com.mybatisflex.annotation.RelationOneToOne;
import com.wenjie.original.entity.SysAdmin;
import com.wenjie.original.entity.SysCodeTempGroup;
import com.wenjie.original.entity.common.vo.IResVo;
import com.wenjie.original.entity.common.vo.ISelVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

public class SysCodeTempGroupVo {

    @Data
    public static class SelVo extends SysCodeTempGroup implements ISelVo<SysCodeTempGroup> {
        @ApiModelProperty("当前页")
        private Integer pn = 1;

        @ApiModelProperty("页数")
        private Integer ps = 10;
    }

    @Data
    public static class ResVo extends SysCodeTempGroup implements IResVo<SysCodeTempGroup> {

        @ApiModelProperty("创建人")
        @RelationOneToOne(selfField = "sysAdminId", targetField = "sysAdminId")
        private SysAdmin createAdminInfo;


    }
}
